/*
 *@Type SocketClientUsage.java
 * @Desc
 * @Author urmsone urmsone@163.com
 * @date 2024/6/13 14:07
 * @version
 */
package example;

import client.Client;
import client.SocketClient;

public class SocketClientUsage {
    public static void main(String[] args) {
        String host = "localhost";
        int port = 22345;
        Client client = new SocketClient(host, port);
//        client.get("zsy1");
//        client.set("zsy12","for test");
////
//        client.get("zsy12");
//        client.rm("zsy12");
//        client.get("zsy12");
//        client.set("gxc199", "for test2");
//          client.set("gxc20", "for test2");
//          client.set("gxc66", "for test2");
//          client.set("gxc20", "f33");
//          client.get("gxc199");
//       client.rm("gxc20");
       client.rm("gxc66");
     client.get("gxc66");
          //          client.set("gxc21", "for test2");
//          client.set("gxc22", "for test2");
//        client.set("gxc199", "for test2");
//        client.get("gxc199");
    }
}